"""Contact URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url
from django.contrib import admin
import ContactsBook.views as views

urlpatterns = [
    url(r'^$', views.home, name='home'),
    url(r'^admin/', admin.site.urls),
    url(r'^signup/',views.signup,name='signup'),
    url(r'^login/',views.login,name='login'),
    url(r'^logout/',views.logout,name='logout'),
    url(r'^userinfo/',views.getInfo,name='userinfo'),
    url(r'^grouplist/',views.groupList,name='grouplist'),
    url(r'friendlist/',views.getFriends,name='friendlist'),
    url(r'^getmember/',views.getMemberGroup,name='getmember'),
    url(r'^joingroup/',views.joinGroup,name='joingroup'),
    url(r'^addfriend/',views.addFriend,name='addfriend'),
    url(r'^searchgroup/',views.searchGroup,name='searchgroup'),
    url(r'^searchperson/',views.searchPerson,name='searchperson'),
    url(r'^creategroup/',views.createGroup,name='creategroup'),
    url(r'^getgradeglass/',views.getGradeClass,name='getgradeclass'),
    url(r'^addgradeglass/',views.addGradeClass,name='addgradeclass'),
    url(r'^getmembergradeclass/',views.getMemberGradeClass,name='getmembergradeclass'),
    url(r'^getgradeclasslist/',views.getGradeClassList,name='getgradeclasslist'),
    url(r'^getadminmember/',views.getAdminMember,name='getadminmember'),
    url(r'^forgetpassword/',views.forgetPassword,name='forgetpassword'),
    url(r'^createteam/',views.createTeam,name='createteam'),
    url(r'^jointeam/',views.joinTeam,name='jointeam'),
]
